import request from '@/utils/request'

var service_name = '/bssp-user-service'
/**
 * @description: 分页列表
 *
 * @author weirx
 * @date 2021-03-24T11:35:03.357
 */
export function getPageUser(data) {
    return request({
        url: service_name+ '/user/pageList',
        method: 'post',
        data
    })
}

/**
 * @description: 新增
 *
 * @author weirx
 * @date 2021-03-24T11:35:03.357
 */
export function create(data) {
    return request({
        url: service_name+ '/user/save',
        method: 'post',
        data
    })
}

/**
 * @description: 更新
 *
 * @author weirx
 * @date 2021-03-24T11:35:03.357
 */
export function update(data) {
    return request({
        url: service_name+ '/user/update',
        method: 'post',
        data
    })
}
